From 4656b11c4cb09f56875ddc150b99000a489b969e Mon Sep 17 00:00:00 2001 From: "cl349@firebug.cl.cam.ac.uk" Date: Sat, 3 Sep 2005 16:32:53 +0000 Subject: [PATCH] Free struct file file_private on release. Signed-off-by: Christian Limpach --- linux-2.6-xen-sparse/drivers/xen/evtchn/evtchn.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/linux-2.6-xen-sparse/drivers/xen/evtchn/evtchn.c b/linux-2.6-xen-sparse/drivers/xen/evtchn/evtchn.c index f5da4283d1..bbd1236fd8 100644 --- a/linux-2.6-xen-sparse/drivers/xen/evtchn/evtchn.c +++ b/linux-2.6-xen-sparse/drivers/xen/evtchn/evtchn.c @@ -350,6 +350,8 @@ static int evtchn_release(struct inode *inode, struct file *filp) spin_unlock_irq(&port_user_lock); + kfree(u); + return 0; } -- 2.30.2